package com.skycong.hello77.fragment;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.skycong.hello77.R;

import java.util.Arrays;

/**
 * @author ruanmingcong
 * @date 2018/1/20 17:38
 */
public class GetValueFrament extends Fragment {
    private TextView tv;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view =inflater.inflate(R.layout.getvalue_item,null);
        tv = (TextView) view.findViewById(R.id.getvalue_item);
        Bundle bundle = getArguments();
        if(bundle!=null){
            String con = bundle.toString();
            tv.setText(con);
        }
        return view;
    }
}
